import React, { Component } from 'react';

import { BrowserRouter as Router, Route, Link } from "react-router-dom";

import Home from './components/Home';
import Detailed from './components/Detailed'
import Login from './components/login'
import './assets/css/index.css'

class App extends Component {

  render() {
    return (
        <Router>
            <div>
                <Route exact path="/" component={Home} />
                <Route exact path="/Login" component={Login} />
                <Route path="/Detailed/:id" component={Detailed} />         
            </div>
      </Router>
     
    );
  }
}

export default App;